package com.example.spinning.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author bayernxmt
 * @create 2020-11-17-10:17
 */
public class WilleyVo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String batch_no;
    private String name;
    private String workshop;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Timestamp date;
    private String machine_type;
    private String num;
    private Integer cylinder_speed;
    private String gauge_length;
    private String color1;
    private String wool_oil;
    private String enhancer;
    private String antistat;
    private Float percent2;
    List<WilleyInfo> dyeingInfos;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkshop() {
        return workshop;
    }

    public void setWorkshop(String workshop) {
        this.workshop = workshop;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getMachine_type() {
        return machine_type;
    }

    public void setMachine_type(String machine_type) {
        this.machine_type = machine_type;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Integer getCylinder_speed() {
        return cylinder_speed;
    }

    public void setCylinder_speed(Integer cylinder_speed) {
        this.cylinder_speed = cylinder_speed;
    }

    public String getGauge_length() {
        return gauge_length;
    }

    public void setGauge_length(String gauge_length) {
        this.gauge_length = gauge_length;
    }

    public String getColor1() {
        return color1;
    }

    public void setColor1(String color1) {
        this.color1 = color1;
    }

    public String getWool_oil() {
        return wool_oil;
    }

    public void setWool_oil(String wool_oil) {
        this.wool_oil = wool_oil;
    }

    public String getEnhancer() {
        return enhancer;
    }

    public void setEnhancer(String enhancer) {
        this.enhancer = enhancer;
    }

    public String getAntistat() {
        return antistat;
    }

    public void setAntistat(String antistat) {
        this.antistat = antistat;
    }

    public Float getPercent2() {
        return percent2;
    }

    public void setPercent2(Float percent2) {
        this.percent2 = percent2;
    }

    public List<WilleyInfo> getDyeingInfos() {
        return dyeingInfos;
    }

    public void setDyeingInfos(List<WilleyInfo> dyeingInfos) {
        this.dyeingInfos = dyeingInfos;
    }
}
